import { Message } from "./Message";

export interface NegativeTestVector {
  expectation: "failure";
  encoded: Uint8Array;
}

export interface PositiveTestVector {
  expectation: "success";
  encoded: Uint8Array;
  decoded: Message;
}

export type TestVector = NegativeTestVector | PositiveTestVector;

export type TestVectors = Record<string, TestVector>;
